package com.group9.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DealAssetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DealAssetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdIsNull() {
            addCriterion("lent_asset_id is null");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdIsNotNull() {
            addCriterion("lent_asset_id is not null");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdEqualTo(Integer value) {
            addCriterion("lent_asset_id =", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdNotEqualTo(Integer value) {
            addCriterion("lent_asset_id <>", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdGreaterThan(Integer value) {
            addCriterion("lent_asset_id >", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("lent_asset_id >=", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdLessThan(Integer value) {
            addCriterion("lent_asset_id <", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdLessThanOrEqualTo(Integer value) {
            addCriterion("lent_asset_id <=", value, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdIn(List<Integer> values) {
            addCriterion("lent_asset_id in", values, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdNotIn(List<Integer> values) {
            addCriterion("lent_asset_id not in", values, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdBetween(Integer value1, Integer value2) {
            addCriterion("lent_asset_id between", value1, value2, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentAssetIdNotBetween(Integer value1, Integer value2) {
            addCriterion("lent_asset_id not between", value1, value2, "lentAssetId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdIsNull() {
            addCriterion("lent_emp_id is null");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdIsNotNull() {
            addCriterion("lent_emp_id is not null");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdEqualTo(Integer value) {
            addCriterion("lent_emp_id =", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdNotEqualTo(Integer value) {
            addCriterion("lent_emp_id <>", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdGreaterThan(Integer value) {
            addCriterion("lent_emp_id >", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("lent_emp_id >=", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdLessThan(Integer value) {
            addCriterion("lent_emp_id <", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdLessThanOrEqualTo(Integer value) {
            addCriterion("lent_emp_id <=", value, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdIn(List<Integer> values) {
            addCriterion("lent_emp_id in", values, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdNotIn(List<Integer> values) {
            addCriterion("lent_emp_id not in", values, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdBetween(Integer value1, Integer value2) {
            addCriterion("lent_emp_id between", value1, value2, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpIdNotBetween(Integer value1, Integer value2) {
            addCriterion("lent_emp_id not between", value1, value2, "lentEmpId");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameIsNull() {
            addCriterion("lent_emp_name is null");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameIsNotNull() {
            addCriterion("lent_emp_name is not null");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameEqualTo(String value) {
            addCriterion("lent_emp_name =", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameNotEqualTo(String value) {
            addCriterion("lent_emp_name <>", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameGreaterThan(String value) {
            addCriterion("lent_emp_name >", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameGreaterThanOrEqualTo(String value) {
            addCriterion("lent_emp_name >=", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameLessThan(String value) {
            addCriterion("lent_emp_name <", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameLessThanOrEqualTo(String value) {
            addCriterion("lent_emp_name <=", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameLike(String value) {
            addCriterion("lent_emp_name like", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameNotLike(String value) {
            addCriterion("lent_emp_name not like", value, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameIn(List<String> values) {
            addCriterion("lent_emp_name in", values, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameNotIn(List<String> values) {
            addCriterion("lent_emp_name not in", values, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameBetween(String value1, String value2) {
            addCriterion("lent_emp_name between", value1, value2, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentEmpNameNotBetween(String value1, String value2) {
            addCriterion("lent_emp_name not between", value1, value2, "lentEmpName");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdIsNull() {
            addCriterion("lent_admin_id is null");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdIsNotNull() {
            addCriterion("lent_admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdEqualTo(Integer value) {
            addCriterion("lent_admin_id =", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdNotEqualTo(Integer value) {
            addCriterion("lent_admin_id <>", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdGreaterThan(Integer value) {
            addCriterion("lent_admin_id >", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("lent_admin_id >=", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdLessThan(Integer value) {
            addCriterion("lent_admin_id <", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("lent_admin_id <=", value, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdIn(List<Integer> values) {
            addCriterion("lent_admin_id in", values, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdNotIn(List<Integer> values) {
            addCriterion("lent_admin_id not in", values, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("lent_admin_id between", value1, value2, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("lent_admin_id not between", value1, value2, "lentAdminId");
            return (Criteria) this;
        }

        public Criteria andLentDateIsNull() {
            addCriterion("lent_date is null");
            return (Criteria) this;
        }

        public Criteria andLentDateIsNotNull() {
            addCriterion("lent_date is not null");
            return (Criteria) this;
        }

        public Criteria andLentDateEqualTo(Date value) {
            addCriterion("lent_date =", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateNotEqualTo(Date value) {
            addCriterion("lent_date <>", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateGreaterThan(Date value) {
            addCriterion("lent_date >", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateGreaterThanOrEqualTo(Date value) {
            addCriterion("lent_date >=", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateLessThan(Date value) {
            addCriterion("lent_date <", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateLessThanOrEqualTo(Date value) {
            addCriterion("lent_date <=", value, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateIn(List<Date> values) {
            addCriterion("lent_date in", values, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateNotIn(List<Date> values) {
            addCriterion("lent_date not in", values, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateBetween(Date value1, Date value2) {
            addCriterion("lent_date between", value1, value2, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentDateNotBetween(Date value1, Date value2) {
            addCriterion("lent_date not between", value1, value2, "lentDate");
            return (Criteria) this;
        }

        public Criteria andLentPurposeIsNull() {
            addCriterion("lent_purpose is null");
            return (Criteria) this;
        }

        public Criteria andLentPurposeIsNotNull() {
            addCriterion("lent_purpose is not null");
            return (Criteria) this;
        }

        public Criteria andLentPurposeEqualTo(String value) {
            addCriterion("lent_purpose =", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeNotEqualTo(String value) {
            addCriterion("lent_purpose <>", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeGreaterThan(String value) {
            addCriterion("lent_purpose >", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeGreaterThanOrEqualTo(String value) {
            addCriterion("lent_purpose >=", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeLessThan(String value) {
            addCriterion("lent_purpose <", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeLessThanOrEqualTo(String value) {
            addCriterion("lent_purpose <=", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeLike(String value) {
            addCriterion("lent_purpose like", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeNotLike(String value) {
            addCriterion("lent_purpose not like", value, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeIn(List<String> values) {
            addCriterion("lent_purpose in", values, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeNotIn(List<String> values) {
            addCriterion("lent_purpose not in", values, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeBetween(String value1, String value2) {
            addCriterion("lent_purpose between", value1, value2, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentPurposeNotBetween(String value1, String value2) {
            addCriterion("lent_purpose not between", value1, value2, "lentPurpose");
            return (Criteria) this;
        }

        public Criteria andLentRemarkIsNull() {
            addCriterion("lent_remark is null");
            return (Criteria) this;
        }

        public Criteria andLentRemarkIsNotNull() {
            addCriterion("lent_remark is not null");
            return (Criteria) this;
        }

        public Criteria andLentRemarkEqualTo(String value) {
            addCriterion("lent_remark =", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkNotEqualTo(String value) {
            addCriterion("lent_remark <>", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkGreaterThan(String value) {
            addCriterion("lent_remark >", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("lent_remark >=", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkLessThan(String value) {
            addCriterion("lent_remark <", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkLessThanOrEqualTo(String value) {
            addCriterion("lent_remark <=", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkLike(String value) {
            addCriterion("lent_remark like", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkNotLike(String value) {
            addCriterion("lent_remark not like", value, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkIn(List<String> values) {
            addCriterion("lent_remark in", values, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkNotIn(List<String> values) {
            addCriterion("lent_remark not in", values, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkBetween(String value1, String value2) {
            addCriterion("lent_remark between", value1, value2, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andLentRemarkNotBetween(String value1, String value2) {
            addCriterion("lent_remark not between", value1, value2, "lentRemark");
            return (Criteria) this;
        }

        public Criteria andReturnDateIsNull() {
            addCriterion("return_date is null");
            return (Criteria) this;
        }

        public Criteria andReturnDateIsNotNull() {
            addCriterion("return_date is not null");
            return (Criteria) this;
        }

        public Criteria andReturnDateEqualTo(Date value) {
            addCriterion("return_date =", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateNotEqualTo(Date value) {
            addCriterion("return_date <>", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateGreaterThan(Date value) {
            addCriterion("return_date >", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateGreaterThanOrEqualTo(Date value) {
            addCriterion("return_date >=", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateLessThan(Date value) {
            addCriterion("return_date <", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateLessThanOrEqualTo(Date value) {
            addCriterion("return_date <=", value, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateIn(List<Date> values) {
            addCriterion("return_date in", values, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateNotIn(List<Date> values) {
            addCriterion("return_date not in", values, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateBetween(Date value1, Date value2) {
            addCriterion("return_date between", value1, value2, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnDateNotBetween(Date value1, Date value2) {
            addCriterion("return_date not between", value1, value2, "returnDate");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdIsNull() {
            addCriterion("return_admin_id is null");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdIsNotNull() {
            addCriterion("return_admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdEqualTo(Integer value) {
            addCriterion("return_admin_id =", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdNotEqualTo(Integer value) {
            addCriterion("return_admin_id <>", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdGreaterThan(Integer value) {
            addCriterion("return_admin_id >", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("return_admin_id >=", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdLessThan(Integer value) {
            addCriterion("return_admin_id <", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("return_admin_id <=", value, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdIn(List<Integer> values) {
            addCriterion("return_admin_id in", values, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdNotIn(List<Integer> values) {
            addCriterion("return_admin_id not in", values, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("return_admin_id between", value1, value2, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("return_admin_id not between", value1, value2, "returnAdminId");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkIsNull() {
            addCriterion("return_remark is null");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkIsNotNull() {
            addCriterion("return_remark is not null");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkEqualTo(String value) {
            addCriterion("return_remark =", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkNotEqualTo(String value) {
            addCriterion("return_remark <>", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkGreaterThan(String value) {
            addCriterion("return_remark >", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("return_remark >=", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkLessThan(String value) {
            addCriterion("return_remark <", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkLessThanOrEqualTo(String value) {
            addCriterion("return_remark <=", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkLike(String value) {
            addCriterion("return_remark like", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkNotLike(String value) {
            addCriterion("return_remark not like", value, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkIn(List<String> values) {
            addCriterion("return_remark in", values, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkNotIn(List<String> values) {
            addCriterion("return_remark not in", values, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkBetween(String value1, String value2) {
            addCriterion("return_remark between", value1, value2, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andReturnRemarkNotBetween(String value1, String value2) {
            addCriterion("return_remark not between", value1, value2, "returnRemark");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusIsNull() {
            addCriterion("deal_asset_status is null");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusIsNotNull() {
            addCriterion("deal_asset_status is not null");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusEqualTo(String value) {
            addCriterion("deal_asset_status =", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusNotEqualTo(String value) {
            addCriterion("deal_asset_status <>", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusGreaterThan(String value) {
            addCriterion("deal_asset_status >", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusGreaterThanOrEqualTo(String value) {
            addCriterion("deal_asset_status >=", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusLessThan(String value) {
            addCriterion("deal_asset_status <", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusLessThanOrEqualTo(String value) {
            addCriterion("deal_asset_status <=", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusLike(String value) {
            addCriterion("deal_asset_status like", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusNotLike(String value) {
            addCriterion("deal_asset_status not like", value, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusIn(List<String> values) {
            addCriterion("deal_asset_status in", values, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusNotIn(List<String> values) {
            addCriterion("deal_asset_status not in", values, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusBetween(String value1, String value2) {
            addCriterion("deal_asset_status between", value1, value2, "dealAssetStatus");
            return (Criteria) this;
        }

        public Criteria andDealAssetStatusNotBetween(String value1, String value2) {
            addCriterion("deal_asset_status not between", value1, value2, "dealAssetStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}